package jmu.cze.service;

import jmu.cze.pojo.Airport;
import jmu.cze.pojo.City;
import jmu.cze.pojo.Country;
import jmu.cze.pojo.Terminal;

import java.util.List;
import java.util.Map;

public interface LocationService {
    Map<Integer, Country> selectAllCountries();

    Map<String, City> selectAllCities();

    List<Airport> selectAllAirports();

    boolean deleteCountryByID(int countryID);

    boolean insertCountry(Country country);

    boolean updateCountry(Country country);


    boolean deleteCityByID(String cityID);

    boolean insertCity(City city);

    boolean updateCity(City city);


    boolean deleteAirportByID(String airportID);

    boolean insertAirport(Airport airport);

    boolean updateAirport(Airport airport);


    boolean deleteTerminalByID(int terminalID);

    boolean insertTerminal(Terminal terminal);

    boolean updateTerminal(Terminal terminal);
}
